package com.indexingsystem.system.service;

import com.indexingsystem.boss.Vo.*;
import com.indexingsystem.boss.common.PagedResult;
import com.indexingsystem.boss.entity.IdxTaskProduct;

import java.util.List;
/**
  * @Discription task product service
  * @Author mineary
  * @Date 14:38 2018/10/31
  * @Param
  * @Return
  */
public interface IdxTaskProductService {
    int deleteByPrimaryKey(String id);

    int insert(IdxTaskProduct record);

    int insertSelective(IdxTaskProduct record);

    IdxTaskProduct selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(IdxTaskProduct record);

    int updateByPrimaryKey(IdxTaskProduct record);

    Integer deleteByIdBatch(List<String> list);

    List<IdxTaskProduct> selectByCondition(IdxTaskProductConditionVo idxTaskProductConditionVo);

    List<IdxTaskProduct> selectProductsByPrimaryKey(String taskProductId);

    PagedResult<RefIndexingResVo> getRefIndexingList(RefIndexingReqVo reqVo);

    PagedResult<IdxProductsResVo> SubTaskUnAssignedProduct(TaskProductAddReqVo reqVo);

    int updateRefIndexingByTaskIds(List<String> ids, Integer status);

    List<String> getProductsByTaskId(List<String> taskIds);
}
